package org.example.sportdemo.mapper;

import org.example.sportdemo.entity.Carousel;
import org.example.sportdemo.entity.Competition;

import java.util.List;

public interface CarouselMapper {

    List<Carousel> selectAll();

    void addCarousel(Carousel carousel);

    Carousel selectById(Integer id);

    void updateCarousel(Carousel carousel);

    void deleteByIds(Integer[] ids);

    Integer selectCount();
}
